package com.neusoft.resturant.entity;


import java.math.BigDecimal;

/**
 * 购物车对象 res_cart
 * 
 * @author sl
 * @date 2023-12-20
 */
public class ResCart extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 购物车编号 */
    private Long id;

    /** 顾客名称 */
    private String nameC;

    /** 餐厅名称 */
    private String nameR;

    /** 菜品名称 */
    private String nameD;

    /** 菜品数量 */
    private String quantity;

    /** 总价 */
    private BigDecimal price;

    /** 所属店铺id */
    private Long shopId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNameC(String nameC) 
    {
        this.nameC = nameC;
    }

    public String getNameC() 
    {
        return nameC;
    }
    public void setNameR(String nameR) 
    {
        this.nameR = nameR;
    }

    public String getNameR() 
    {
        return nameR;
    }
    public void setNameD(String nameD) 
    {
        this.nameD = nameD;
    }

    public String getNameD() 
    {
        return nameD;
    }
    public void setQuantity(String quantity) 
    {
        this.quantity = quantity;
    }

    public String getQuantity() 
    {
        return quantity;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }


}
